package com.foton.bpc.all.remoting.invoker;

import com.foton.bpc.all.remoting.dto.BpcInvacation;

/**
 * @Author RenPu
 * @Date 2023/6/8 15:52
 * @Version 1.0
 * @Description:
 **/
public interface Invoker {


    /**
     * 返回接口
     * @return
     */
    Class<?> getInterface();


    /**
     *
     * @param bpcInvacation
     * @return
     * @throws Exception
     */
    Object invoker(BpcInvacation bpcInvacation) throws Exception;




}
